package com.zhangdi.demo.es.esrepository;

import com.zhangdi.demo.es.entity.CompanyDoc;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by zhangdi on 2020/06/29 15:48:09.
 */

@Repository
public interface ESUserRepository extends ElasticsearchRepository<CompanyDoc, String> {
//    List<Region> findByName(String value);
//    List<Region> findByAddress(String value);
//    List<Region> findByDescription(String value);
}
